﻿using System;
using System.Runtime.Serialization;

namespace CC.Yacht.Messages
{
    [DataContract]
    public class LoginResponse : BaseResponse
    {
        #region Public Properties
        [DataMember]
        public Guid GameId { get; set; }

        public bool IsLoggedIn
        {
            get { return (SessionId != Guid.Empty); }
        }

        [DataMember]
        public Guid LobbyId { get; set; }

        [DataMember]
        public Guid SessionId { get; set; }

        [DataMember]
        public User User { get; set; }
        #endregion
    }
}
